﻿CREATE TABLE [dbo].[yaf_Topic]
(
[TopicID] [int] NOT NULL IDENTITY(1, 1),
[ForumID] [int] NOT NULL,
[UserID] [int] NOT NULL,
[UserName] [nvarchar] (50) COLLATE Cyrillic_General_BIN NULL,
[Posted] [datetime] NOT NULL,
[Topic] [nvarchar] (128) COLLATE Cyrillic_General_BIN NOT NULL,
[Views] [int] NOT NULL,
[Priority] [smallint] NOT NULL,
[PollID] [int] NULL,
[TopicMovedID] [int] NULL,
[LastPosted] [datetime] NULL,
[LastMessageID] [int] NULL,
[LastUserID] [int] NULL,
[LastUserName] [nvarchar] (50) COLLATE Cyrillic_General_BIN NULL,
[NumPosts] [int] NOT NULL,
[Flags] [int] NOT NULL
) ON [PRIMARY]


